package com.zhiwang.planet.ui.entertain

import android.os.Bundle
import com.zhiwang.planet.R
import com.zhiwang.planet.ui.BaseActivity
import com.zhiwang.planet.ui.main.EntertainFragment
import com.zhiwang.planet.util.Utils

class MiniGameActivity : BaseActivity() {

    val TAG = "MiniGameActivityFragment"
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_mini)


        val fragment = supportFragmentManager.findFragmentByTag(TAG) ?: EntertainFragment()
        supportFragmentManager.beginTransaction()
                .add(R.id.container, fragment, TAG)
                .commit()

//        Utils.setStatusBar(this, false, true)
    }
}